package com.file.mapper;

import com.file.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserMapper{
    //分页查询用户
    List<User> seleUserPage(Map<String, Object> params);
    long count();
    //修改用户状态
    void updateStatus(User user);
    //修改用户信息
    User selectById(Integer ById);
    List<User> updateUser(User user);
    //删除用户
    Integer deleteById(Integer id);
    //查询用户
    List<User> selectUser(@Param("dept_id") String dept_id);

}
